<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <title>Slides &laquo; Admin</title>
    <link rel="stylesheet" href="../assets/vendors/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="../assets/vendors/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="../assets/vendors/nprogress/nprogress.css">
    <link rel="stylesheet" href="../assets/css/admin.css">
</head>

<body>
    @@include('../comm/admin/comm.html')
    <script>
        NProgress.start()
    </script>

    <div class="main">
        <!-- 头部退出 -->
        @@include('../comm/top.html')
        <div class="container-fluid">
            <div class="page-title">
                <h1>图片轮播</h1>
            </div>
            <!-- 有错误信息时展示 -->
            <!-- <div class="alert alert-danger">
        <strong>错误！</strong>发生XXX错误
      </div> -->
            <div class="row">
                <div class="col-md-4">
                    <form>
                        <h2>添加新轮播内容</h2>
                        <div class="form-group">
                            <label for="image">图片</label>
                            <!-- show when image chose -->
                            <img class="help-block thumbnail" style="display: none">
                            <input class="form-control" type="file">
                        </div>
                        <div class="form-group">
                            <label for="text">文本</label>
                            <input id="text" class="form-control" type="text" placeholder="文本">
                        </div>
                        <div class="form-group">
                            <label for="link">链接</label>
                            <input id="link" class="form-control" type="text" placeholder="链接">
                        </div>
                        <div class="form-group">
                            <button class="btn btn-primary" type="submit">添加</button>
                        </div>
                    </form>
                </div>
                <div class="col-md-8">
                    <table class="table table-striped table-bordered table-hover">
                        <thead>
                            <tr>
                                <th class="text-center">图片</th>
                                <th>文本</th>
                                <th>链接</th>
                                <th class="text-center" width="100">操作</th>
                            </tr>
                        </thead>
                        @@include('../comm/admin/slides.html')
                    </table>
                </div>
            </div>
        </div>
    </div>

    <!-- 左侧导航栏 -->
    @@include('../comm/left-nav.html')
    <script src="../assets/js/admin/slides.js"></script>
    <script>
        NProgress.done()
    </script>
</body>

</html>